package net.maku.express.biza.controller.collectExpress.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author wenyignying'
 * @Description:
 * @Date
 */
@Schema(description = "查询order")
@Data
public class CollectExpressOrderRequestVO {
    @Schema(description = "客户id")
    @NotNull(message = "客户不能为空")
    private Integer customId;

    @Schema(description = "销售id")
    @NotNull(message = "销售不能为空")
    private Integer salesId;

    @Schema(description = "客服id")
    @NotNull(message = "客服不能为空")
    private Integer buseinessId;

    @Schema(description = "始发地港口")
    @NotNull(message = "始发地港口不能为空")
    private Integer originId;

    @Schema(description = "目的地港口")
    @NotNull(message = "目的地港口不能为空")
    private Integer destId;

    @Schema(description = "始发地仓")
    private Integer hourseOrigin;

    @Schema(description = "目的地仓")
    private Integer hourseDest;


    @Schema(description = "收据单号")
    private String collectNo;

    @Schema(description = "业务类型:1:空运,2:海运,3:陆运")
    @NotNull(message = "业务类型不能为空")
    private Integer businessState;

    @Schema(description = "发货人/收货人")
    private String sendor;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    @Schema(description = "箱号id")
    private List<Long> boxId;

}
